/*
 * @Author: cl
 * @Description:
 * @Date: 2023-05-15 10:54:37
 * @LastEditTime: 2023-06-06 16:08:27
 * @FilePath: \vue3scaffold\src\main.ts
 * @LastEditors: cl
 */
import { createApp } from "vue";
import "./style.css";
import "../src/plugins/tailwindcss/tailwindcss.css"
import App from "./App.vue";
import router, { setupRouter } from "@/router";
import { setPlugins } from "@/plugins";

const app = createApp(App);
//设置路由
setupRouter(app);
//设置插件
setPlugins(app);
await router.isReady(); //路由完全加载完再执行
app.mount("#app");
